package com.example.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;

@Component
@Data
@ApiModel(value="Bill对象", description="订单列表")
public class Bill {
	@ApiModelProperty(value = "ID主键")
	private Integer id;   //id
	@ApiModelProperty(value = "账单编码")
	private String billCode; //账单编码
	@ApiModelProperty(value = "商品名称")
	private String productName; //商品名称
	@ApiModelProperty(value = "商品描述")
	private String productDesc; //商品描述
	@ApiModelProperty(value = "商品单位")
	private String productUnit; //商品单位
	@ApiModelProperty(value = "商品数量")
	private BigDecimal productCount; //商品数量
	@ApiModelProperty(value = "总金额")
	private BigDecimal totalPrice; //总金额
	@ApiModelProperty(value = "是否支付")
	private Integer isPayment; //是否支付
	@ApiModelProperty(value = "供应商ID")
	private Integer providerId; //供应商ID
	@ApiModelProperty(value = "ID主键")
	private Integer createdBy; //创建者
	@ApiModelProperty(value = "创建时间")
	private Date creationDate; //创建时间
	@ApiModelProperty(value = "更新者")
	private Integer modifyBy; //更新者
	@ApiModelProperty(value = "更新时间")
	private Date modifyDate;//更新时间
	@ApiModelProperty(value = "供应商名称")
	private String providerName;//供应商名称


}
